package com.shanpin.shebao.web.model;

import com.shanpin.core.utils.NumberUtil;

public class JsapiSign {
	
	private String appid;
	private String noncestr;
	private int timestamp;
	private String signature;

	public JsapiSign(int ts, String acc) {
		noncestr = NumberUtil.genRandom(16);;
		timestamp = ts;
		appid = acc;
	}
	
	public String getAppid() {
		return appid;
	}

	public void setAppid(String appid) {
		this.appid = appid;
	}

	public String getNoncestr() {
		return noncestr;
	}

	public void setNoncestr(String noncestr) {
		this.noncestr = noncestr;
	}

	public int getTimestamp() {
		return timestamp;
	}

	public void setTimestamp(int timestamp) {
		this.timestamp = timestamp;
	}

	public String getSignature() {
		return signature;
	}

	public void setSignature(String signature) {
		this.signature = signature;
	}

}
